package com.zmn.plat.common.dto.price;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 描述: 系数（价格计算相关）
 *
 * @author guoqiao
 * @since 2021/8/27 15:40
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Valid
public class RatioTo implements Serializable {

    private static final long serialVersionUID = -6096500674250591874L;

    @ApiModelProperty("项目ID")
    private Integer itemId;

    @ApiModelProperty("后台产品ID")
    private Integer productId;

    @ApiModelProperty("渠道折扣")
    private Float channelDiscont;

    @ApiModelProperty("内部价渠道折扣")
    private Float internalChannelDiscont;

    @ApiModelProperty("城市系数")
    private Float cityRatio;

    @ApiModelProperty("内部价城市系数")
    private Float internalCityRatio;

    @ApiModelProperty("品牌系数")
    private Float brandRatio;

    @ApiModelProperty("内部价品牌系数")
    private Float internalBrandRatio;

    @ApiModelProperty("是否受难度系数影响")
    private Boolean difficultLimit;

    @ApiModelProperty("是否影响内部价：1不影响 2影响")
    private Integer effectInnerPrice;

    @ApiModelProperty("难度系数值")
    private BigDecimal difficultRatio;

}
